package com.companyName.common.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

//import io.github.xdiamond.client.spring.XDiamondConfigFactoryBean;

@Configuration
public class XDiamondConfigExt {
	
	/*@Bean(name="xDiamondConfig")
	public XDiamondConfigFactoryBean xDiamondConfig() {
		XDiamondConfigFactoryBean xdBean = new XDiamondConfigFactoryBean();
		xdBean.setServerHost(System.getenv("xdiamond_server_host"));    //10.100.1.73
		xdBean.setServerPort(System.getenv("xdiamond_server_port"));    //5678
		xdBean.setGroupId(System.getenv("xdiamond_group_id"));    //com.companyName
		xdBean.setArtifactId(System.getenv("xdiamond_artifact_id"));    //sample
		xdBean.setVersion(System.getenv("xdiamond_version"));    //1.0.0
		xdBean.setProfile(System.getenv("xdiamond_profile"));    //product
		xdBean.setSecretKey(System.getenv("xdiamond_secret_key"));    //6upamM0A4wHAVJdP
		
		return xdBean;
	}*/
}
